package jp.sourceforge.akjrcp.psp;

import org.eclipse.swt.widgets.Composite;

import jp.sourceforge.akjrcp.ui.CComboFieldEditor;

public class PSPHQFieldEditor extends CComboFieldEditor{

	public static final String HQSettings[]={
		"-refs 3 -loop 1 -deblockalpha 0 -deblockbeta 0 -parti4x4 1 -partp8x8 1 -partb8x8 1 -me_method umh -subq 6 -brdo 1 -me_range 21 -chroma 1 -slice 2 -g 250 -keyint_min 25 -sc_threshold 40 -rc_eq \"blurCplx^(1-qComp)\" -qcomp 0.60 -qmin 7 -qmax 35",
		"-mbd rd -flags bitexact+4mv+aic -cmp 2 -subcmp 2 -g 300",
		"-g 300  -qmin 23  -loop 1 -sc_threshold 40 -partp4x4 1 -rc_eq  \"blurCplx^(1-qComp)\" -refs 3",
		" -me_method 8 -subq 6 -refs 3 -qmax 40",
		"-flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 -8x8dct-wpred -me epzs -subq 1 -trellis 0 -refs 1 -bf 3 -b_strategy 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq \"blurCplx^(1-qComp)\" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4"
		};
	public PSPHQFieldEditor(String hq_settings, String string,int width, Composite fieldEditorParent) {
		super(hq_settings,string,width,fieldEditorParent);
	}

	public PSPHQFieldEditor(String hq_settings, String string, Composite fieldEditorParent) {
		super(hq_settings,string,fieldEditorParent);
	}

	public void addValues() {
		for (int i = 0; i < HQSettings.length; i++) {
			getCComboControl().add(HQSettings[i]);
		}
		
	}

}
